package service.impl;

import dao.UserDao;
import dao.impl.UserDaoimpl;
import pojo.User;
import service.UserService;

import java.util.List;

public class Userserviceimpl  implements UserService {

    @Override
    public List<User> findAll() {
        //TODO
        UserDao userDao = new UserDaoimpl();
        List<User> users = userDao.findAll();
        return users;

    }
}
